/**
 * Requests Archive.org crawl the specified URL
 * @param url Location of page to request Archive.org crawl
 */
export default function (url) {
  let archiveUrl = 'https://web.archive.org/save/' + encodeURI(url);
  return fetch(new Request(archiveUrl)).then(function (response) {
    console.log('[Archive.org] Saved URL: ' + archiveUrl);
  });
}
